package com.top4create;

import android.os.Bundle;

import com.top4create.component.MenuUtil;
import com.top4create.face.BasicActivity;
import com.top4create.face.BuyInfoList;
import com.top4create.face.CareerInfoList;
import com.top4create.face.ConpanyInfoList;
import com.top4create.face.FavourateBuy;
import com.top4create.face.FavourateCompany;
import com.top4create.face.FavourateSell;
import com.top4create.face.Login;
import com.top4create.face.Search;
import com.top4create.face.SellInfoList;

public class Main extends BasicActivity {
    /**
     * Called when the activity is first created.
     */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
//        setContentView(R.attr.class);      
    
    MenuUtil.forwardBind(findViewById(R.id.company_button), this,ConpanyInfoList.class);
    MenuUtil.forwardBind(findViewById(R.id.sell_button), this,SellInfoList.class);
    MenuUtil.forwardBind(findViewById(R.id.buy_button), this,BuyInfoList.class);
    MenuUtil.forwardBind(findViewById(R.id.career_button), this,CareerInfoList.class);
    MenuUtil.forwardBind(findViewById(R.id.search_button), this,Search.class);
    MenuUtil.forwardBind(findViewById(R.id.login_button), this,Login.class);
    MenuUtil.forwardBind(findViewById(R.id.fav_com_button), this,FavourateCompany.class);
    MenuUtil.forwardBind(findViewById(R.id.fav_buy_button), this,FavourateBuy.class);
    MenuUtil.forwardBind(findViewById(R.id.fav_sell_button), this,FavourateSell.class);
    
    }

}
